isScopeEnabled

abstract fun isScopeEnabled(block: DesignBlock, key: String): Boolean

Query whether a scope is enabled for a given block.

Return

the enabled state of the scope for the given block.

Parameters

block

the block whose scope state should be queried.

key

the scope to query.